<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <a href="${pageContext.request.contextPath}/test">测试</a><br>
  <a href="${pageContext.request.contextPath}/testRequestMapping">测试@RequestMapping的value属性</a>
  <form method="post" action="${pageContext.request.contextPath}/test"><button>提交</button></form>
  <a href="${pageContext.request.contextPath}/testRequestMapping?username=admin&password=123456">测试@RequestMapping的param属性</a><br>
  <a href="${pageContext.request.contextPath}/testRequestParamByServlet?username=admin&password=123456">测试使用servlet获取请求参数</a><br>
  <a href="${pageContext.request.contextPath}/testRequestParamByHandlerParam?username=admin&password=123456">测试使用处理器的参数获取请求参数</a><br>
  <a href="${pageContext.request.contextPath}/testParamField?password=123456">测试@RequestParam的三个属性</a><br>
  <form action="${pageContext.request.contextPath}/testEncoding" method="post">测试解决post请求字符编码的问题 <br>
  用户名:<input type="text" name="username"><br>
  密码:<input type="password" name="password"><br>
  <input type="submit">
  </form>
  <a href="${pageContext.request.contextPath}/testAnt">测试ant风格的路径</a>
  <a href="${pageContext.request.contextPath}/testRest/1001/杜兰特">测试rest风格下的路径占位符</a><br>
  <form action="${pageContext.request.contextPath}/testPOJO" method="get">
    用户名:<input name="username" type="text"/><br>
    密码:<input name="password" type="password"/><br>
    年龄:<input name="age" type="text"/><br>
    性别:<input name="sex" type="radio" value="男"/>男 <input name="sex" type="radio" value="女"/>女 <br>
    邮箱:<input name="email" type="email"/><br>
    <input type="submit">
  </form>
  </body>
<a href="${pageContext.request.contextPath}/testScope">测试ServletAPI向请求域中共享数据</a><br>
<a href="${pageContext.request.contextPath}/testModelAndView">测试ModelAndView向请求域中共享数据</a><br>
<a href="${pageContext.request.contextPath}/testMap">测试Map向请求域中共享数据</a><br>
<a href="${pageContext.request.contextPath}/testModel">测试Model向请求域中共享数据</a><br>
<a href="${pageContext.request.contextPath}/testModelMap">测试ModelMap向请求域中共享数据</a><br>
</html>
